﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ProductsReport.aspx.cs" Inherits="RBOSS.WebUI.ProductsReport" %>

<%--<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>--%>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Label runat="server" Text="Start Date" ></asp:Label>
                            <asp:TextBox ID="txtStartDate1" runat="server" Width="100px"></asp:TextBox>
                            <%--<ajaxToolkit:CalendarExtender ID="txtStartDate1_CalendarExtender" runat="server"
                                TargetControlID="txtStartDate1" Format="dd/MM/yyyy">
                            </ajaxToolkit:CalendarExtender>--%>
                            <asp:Label runat="server" Text="End Date"></asp:Label>
                            <asp:TextBox ID="txtEndDate1" runat="server" Width="100px"></asp:TextBox><br />
                            <%--<ajaxToolkit:CalendarExtender ID="txtEndDate1_CalendarExtender" runat="server"
                                TargetControlID="txtEndDate1" Format="MM/dd/yyyy">
                            </ajaxToolkit:CalendarExtender>--%>
                            <asp:Label runat="server" Text="Category" Width="72px"></asp:Label>
                            <asp:DropDownList ID="ddlCategories1" runat="server" DataTextField="CategoryName" DataValueField="CategoryId" Width="100px"></asp:DropDownList>
                            <asp:Button runat="server" Text="Update" ID="btnUpdate1" OnClick="btnUpdate1_Click" />
                            <asp:Button runat="server" Text="Export to PDF" ID="btnExport1" OnClick="btnExport1_Click"/>                            
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Chart ID="Chart1" runat="server" Palette="BrightPastel" Width="570px" Height="300px"
                                BorderDashStyle="Solid" BackGradientStyle="TopBottom" BorderWidth="2" BackColor="#D3DFF0"
                                BorderColor="26, 59, 105">
                                <Titles>
                                    <asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 14.25pt, style=Bold" ShadowOffset="3"
                                        Text="" Name="Title1" ForeColor="26, 59, 105">
                                    </asp:Title>
                                </Titles>
                                <Series>
                                    <asp:Series Name="RankingValues" BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240" IsValueShownAsLabel="True">
                                    </asp:Series>
                                </Series>
                                <BorderSkin SkinStyle="Emboss"></BorderSkin>
                                <ChartAreas>
                                    <asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BackSecondaryColor="White"
                                        BorderDashStyle="Solid" BackColor="Azure" ShadowColor="Transparent" BackGradientStyle="TopBottom">
                                        <Area3DStyle Rotation="10" Perspective="10" Inclination="15" IsRightAngleAxes="False"
                                            WallWidth="0" IsClustered="False" />
                                        <AxisY LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                            <MajorGrid LineColor="64, 64, 64, 64" />
                                        </AxisY>
                                        <AxisX Interval="1" LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="true" />
                                            <MajorGrid LineColor="64, 64, 64, 64" />
                                        </AxisX>
                                    </asp:ChartArea>
                                </ChartAreas>
                            </asp:Chart>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Label runat="server" Text="Start Date"></asp:Label>
                            <asp:TextBox ID="txtStartDate2" runat="server" Width="100px"></asp:TextBox>
                            <%--<ajaxToolkit:CalendarExtender ID="txtStartDate2_CalendarExtender" runat="server" Enabled="True"
                                TargetControlID="txtStartDate2" Format="MM/dd/yyyy">
                            </ajaxToolkit:CalendarExtender>--%>
                            <asp:Label runat="server" Text="End Date"></asp:Label>
                            <asp:TextBox ID="txtEndDate2" runat="server" Width="100px"></asp:TextBox><br />
                            <%--<ajaxToolkit:CalendarExtender ID="txtEndDate2_CalendarExtender" runat="server" Enabled="True"
                                TargetControlID="txtEndDate2" Format="MM/dd/yyyy">
                            </ajaxToolkit:CalendarExtender>--%>
                            <asp:Label runat="server" Text="Category" Width="72px"></asp:Label>
                            <asp:DropDownList ID="ddlCategories2" runat="server" DataTextField="CategoryName" DataValueField="CategoryId" Width="100px"></asp:DropDownList>
                            <asp:Button runat="server" Text="Update" ID="Update2" OnClick="btnUpdate2_Click" />
                            <asp:Button runat="server" Text="Export to PDF" ID="btnExport2" OnClick="btnExport2_Click"/>   
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Chart ID="Chart2" runat="server" Palette="BrightPastel" Width="570px" Height="300px"
                                BorderDashStyle="Solid" BackGradientStyle="TopBottom" BorderWidth="2" BackColor="#D3DFF0"
                                BorderColor="26, 59, 105">
                                <Titles>
                                    <asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 14.25pt, style=Bold" ShadowOffset="3"
                                        Text="" Name="Title1" ForeColor="26, 59, 105">
                                    </asp:Title>
                                </Titles>
                                <Series>
                                    <asp:Series Name="RankingValues" BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240" IsValueShownAsLabel="True">
                                    </asp:Series>
                                </Series>
                                <BorderSkin SkinStyle="Emboss"></BorderSkin>
                                <ChartAreas>
                                    <asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BackSecondaryColor="White"
                                        BorderDashStyle="Solid" BackColor="Azure" ShadowColor="Transparent" BackGradientStyle="TopBottom">
                                        <Area3DStyle Rotation="10" Perspective="10" Inclination="15" IsRightAngleAxes="False"
                                            WallWidth="0" IsClustered="False" />
                                        <AxisY LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                            <MajorGrid LineColor="64, 64, 64, 64" />
                                        </AxisY>
                                        <AxisX Interval="1" LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="true" />
                                            <MajorGrid LineColor="64, 64, 64, 64" />
                                        </AxisX>
                                    </asp:ChartArea>
                                </ChartAreas>
                            </asp:Chart>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>


</asp:Content>
